﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MayBom.aspx.cs" Inherits="PresentationLayer_DefaultTab" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .ui-datepicker { font-size:8pt !important}
        .style1
        {
border-collapse: collapse;
        }
        .style26
        {
            text-align: center;
            color: #FF3300;
        }
        .style27
        {
            width: 236px;
        }
        .style28
        {
            color: #000000;
        }
        .style30
        {
            width: 212px;
        }
        .style31
        {
            width: 214px;
        }
        </style>

<link type="text/css" href="../Style/jquery-ui-1.8.19.custom.css" rel="stylesheet" />
<script type="text/javascript" src="../JavaScript/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../JavaScript/jquery-ui-1.8.19.custom.min.js"></script>
<script type="text/javascript">
    $(function () {
        $("#txtNgayCNC").datepicker({ dateFormat: 'dd/mm/yy', changeMonth: true,
            changeYear: true
        });
    });

    $(function () {
        $("#txtNgayLDBienTan").datepicker({ dateFormat: 'dd/mm/yy', changeMonth: true,
            changeYear: true
        });
    });

    $(function () {
        $("#txtNgayLapDat").datepicker({ dateFormat: 'dd/mm/yy', changeMonth: true,
            changeYear: true
        });
    }); 
</script>
    <script src="../JavaScript/CheckImpuValid.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
 <div>
    <asp:HiddenField ID="txtObjectID" runat="server" />
            <table class="style1" border="0"  align="center">
                <tr>
                    <td class="style26" colspan="4">
                        <strong style="text-align: center">CẬP NHẬT THÔNG TIN THUỘC TÍNH MÁY BƠM</strong></td>
                </tr>
                <tr>
                    <td class="style42">
                        Mã máy bơm</td>
                    <td class="style27">
                        <asp:TextBox ID="txtIDMayBom" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Hiệu suất bơm (%)</td>
                    <td class="style31">
                        <asp:TextBox ID="dHieuSuatBom" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Lưu lượng thiết kế (m3/h)</td>
                    <td class="style27">
                        <asp:TextBox ID="dLuuLuongTK" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Góc lệch pha</td>
                    <td class="style31">
                        <asp:TextBox ID="dGocLechPha" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Lưu lượng cực đại (m3/h)</td>
                    <td class="style27">
                        <asp:TextBox ID="dLuuLuongCD" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Tình trạng sử dụng</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListTTSD" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Áp lực thiết kế (Bar)</td>
                    <td class="style27">
                        <asp:TextBox ID="dApLucTK" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Ngày lắp đặt biến tần</td>
                    <td class="style31">
        
                        <asp:TextBox ID="txtNgayLDBienTan" runat="server" Height="21px" Width="210px" 
                            ReadOnly = "True" BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Áp lực cực đại (Bar)</td>
                    <td class="style27">
                        <asp:TextBox ID="dApLucCD" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Nhà sản xuất biến tần</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListNhaSXBienTan" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Nhãn hiệu máy bơm</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListNhanHieuMB" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Nước sản xuất biến tần</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListNuocSXBienTan" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Nhà sản xuất</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListNhaSX" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Tình trạng biến tần</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListTTSDBTan" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Nước sản xuất</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListNuocSX" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Đơn vị quàn lý</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListDonViQL" runat="server" Height="28px" Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Ngày lắp đặt</td>
                    <td class="style27">
        
                        <asp:TextBox ID="txtNgayLapDat" runat="server" Height="21px" Width="210px" 
                            ReadOnly = "True" BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                    <td class="style30">
                        Thuộc sở hữu</td>
                    <td class="style31">
                        <asp:DropDownList ID="DListThuocSoHuu" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style43">
                        Kiểu máy bơm</td>
                    <td class="style27">
                        <asp:DropDownList ID="DListKieuMayBom" runat="server" Height="28px" 
                            Width="216px" >
                        </asp:DropDownList>
                    </td>
                    <td class="style30">
                        Mô tả vị trí</td>
                    <td class="style31">
                        <asp:TextBox ID="txtMoTaViTri" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Chức năng bơm</td>
                    <td class="style27">
        
                        <asp:TextBox ID="txtChucNang" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                    <td class="style30">
                        Ngày cập nhật cuối</td>
                    <td class="style31">
        
                        <asp:TextBox ID="txtNgayCNC" runat="server" Height="21px" Width="210px" 
                            ReadOnly = "True" BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Đường kính ống hút (mm)</td>
                    <td class="style27">
                        <asp:TextBox ID="dDuongKinhOH" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Người cập nhật cuối</td>
                    <td class="style31">
        
                        <asp:TextBox ID="txtNguoiCNC" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Đường kính ổng đẩy (mm)</td>
                    <td class="style27">
                        <asp:TextBox ID="dDuongKinhOD" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Số than đồng hồ</td>
                    <td class="style31">
        
                        <asp:TextBox ID="nSTDongHo" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
            
                    </td>
                </tr>
                <tr>
                    <td class="style42">
                        Tốc độ quay trên phút</td>
                    <td class="style27">
                        <asp:TextBox ID="dRPM" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Số lần sự cố đã khắc phục</td>
                    <td class="style31">
                        <asp:TextBox ID="nSoLanSuCo" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Công suất động cơ (HP)</td>
                    <td class="style27">
                        <asp:TextBox ID="dCongSuatDC" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Mã liên kết trạm bơm</td>
                    <td class="style31">
                        <asp:TextBox ID="txtIDTramBom" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300" 
                            style="margin-top: 0px; margin-bottom: 0px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Cường độ động cơ (m3/h)</td>
                    <td class="style27">
                        <asp:TextBox ID="dCuongDoDC" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300"></asp:TextBox>
                    </td>
                    <td class="style30">
                        Mã liên kết hình ảnh</td>
                    <td class="style31">
                        <asp:TextBox ID="txtIDHinhAnh" runat="server" Height="21px" Width="210px" 
                            BorderStyle="Solid" BorderColor="#333300" 
                            style="margin-top: 0px; margin-bottom: 0px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style43">
                        &nbsp;</td>
                    <td class="style44" colspan="2">
                        &nbsp;</td>
                    <td class="style31">
                        <img src=""/></td>
                </tr>
                <tr>
                    <td colspan="4" style="text-align: center">
                        <asp:Button ID="btnCapNhat" runat="server" onclick="btnCapNhat_Click" 
                            Text="Cập nhật" style="text-align: center"/>
                        &nbsp;&nbsp;
                        <asp:Button ID="btnHuyBo" runat="server" 
                            Text="Hủy bỏ" onclick="btnHuyBo_Click" />
                    </td>
                </tr>
                </table>

    </div>
    </form>
</body>
</html>
